import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import Login from '@/components/Login.vue'
//全局样式表
import './assets/css/global.css'
import Home from '@/components/Home.vue'
import ElementUI from 'element-ui'   
import 'element-ui/lib/theme-chalk/index.css' 
import './assets/fonts/iconfont.css'
import axios from 'axios'

axios.defaults.baseURL = 'http://ting.fensi.work/api/admin/'
axios.defaults.headers.common["authorization"] = "Base eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjVlYmJhY2Y2OTQyZjYyMWNlNDM1MDc2MyIsImlhdCI6MTU5NDM5MzE4N30.WV9guQcipAUkUsXadr1HHAVxmi2_iLFT9cFHjxd-KpQ"
Vue.prototype.$http = axios
Vue.use(ElementUI)
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
